import UIKit

// Implements -setEditing:animated: to toggle the editing state of the table.
@available(iOS 2.0, *)
extension QKC where AA :UITableViewController {
    open func tableView_qk_s(_ tableView:  UITableView) -> QKC<AA,YY,ZZ, UITableView>{
		return link(next: tableView).then_QK { $0.value.tableView = tableView }
	}
    open func tableView_qk_g() -> QKC<AA,YY,ZZ, UITableView>{
		 self +^ self.value.tableView
	}

		// defaults to YES. If YES, any selection is cleared in viewWillAppear:
    @available(iOS 3.2, *)
    open func clearsSelectionOnViewWillAppear_qk_s(_ clearsSelectionOnViewWillAppear:  Bool ) -> QKC<AA,YY,ZZ, Bool >{
		return link(next: clearsSelectionOnViewWillAppear).then_QK { $0.value.clearsSelectionOnViewWillAppear = clearsSelectionOnViewWillAppear }
	}
    @available(iOS 3.2, *)
    open func clearsSelectionOnViewWillAppear_qk_g() -> QKC<AA,YY,ZZ, Bool >{
		 self +^ self.value.clearsSelectionOnViewWillAppear
	}

    @available(iOS 6.0, *)
    open func refreshControl_qk_s(_ refreshControl:  UIRefreshControl?) -> QKC<AA,YY,ZZ, UIRefreshControl?>{
		return link(next: refreshControl).then_QK { $0.value.refreshControl = refreshControl }
	}
    @available(iOS 6.0, *)
    open func refreshControl_qk_g() -> QKC<AA,YY,ZZ, UIRefreshControl?>{
		 self +^ self.value.refreshControl
	}

}

